package com.dr.cmdb.core.service;

import com.dr.cmdb.core.domain.Tables;
import com.dr.cmdb.core.dto.TableModelsDto;

import java.util.List;

/**
 * @ProjectName: cmdb
 * @Package: com.dr.cmdb.application.service
 * @Description: java类作用描述
 * @Author: duanrui
 * @CreateDate: 2021/3/16 19:42
 * @Version: 1.0
 * <p>
 * Copyright: Copyright (c) 2021
 */
public interface TablesService {


    int deleteByPrimaryKey(Integer id);

    int insertSelective(Tables record);

    Tables selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tables record);

    /**
     * 获取表字段
     *
     * @param tableName
     * @return
     */
    List<TableModelsDto> getTableCols(String tableName);

}

